import React from 'react';
import {View, StyleSheet, ScrollView,} from 'react-native';
import ProfileScreen from "./setting/profile";
import SystemScreen from "./setting/system";

const SettingsScreen = ({ navigation }) => {
    return (
        <View style={styles.container}>
            <ScrollView>
                <ProfileScreen navigation={navigation}/>
                <SystemScreen navigation={navigation}/>
            </ScrollView>
        </View>
    );
};

const styles = StyleSheet.create({
    container: {
        flex: 1,
        padding: 16,
    },
});

export default SettingsScreen;
